import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from "path"

import { vitePluginForArco } from '@arco-plugins/vite-vue'


// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(),
    vitePluginForArco({
      style: 'css'
    })],
  resolve: {
    // vite 路径别名设置
    alias: {
      '@': path.resolve('./src')
    }
  },
  // css: {
  //   preprocessorOptions: {
  //     less: {
  //       Math: "always"
  //     }
  //   }
  // }
})
